<ion-view view-title="共通商品检索">
	 <ion-content>
       <div class="list">
       	<li class="item item-input">
       	 	<span class="input-label">商品名称：</span>
       	 	<input type="text" placeholder="请输入商品名称" ng-model="input.key"/>
       	 </li>
			<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="input-label">品牌</div>
					<div class="input-value" ng-click="doSelectBrand()">{{input.brand.name}}</div>
				</div>
            <li class="item item-input">
                分类：
				<div class="input-value small" ng-click="doSelectCat1()" style="width: 22%;">{{input.cat1.name}}</div>
				<div class="input-value small" ng-click="doSelectCat2()" style="width: 22%;">{{input.cat2.name}}</div>
				<div class="input-value small" ng-click="doSelectCat3()" style="width: 22%;">{{input.cat3.name}}</div>
            </li>
       </div>

       <div class="padding">
       	 <button class="button button-block button-assertive" on-tap="doSearch()">检 索</button>
       </div>

       <div class="item item-divider">检索结果
         <span class="right-zhang">共<span class="assertive">{{datas.page.count}}</span>条记录</span>
       </div>

       <div class="list list-borderless" ng-repeat="goods in datas.goods" on-tap="">
       	 <li class="item padding-5  assertive">
       	 	商品名称：{{goods.name}}
       	 </li>
       	  <li class="item padding-5">
       	 	售价：{{goods.price}}元
       	 </li>
       	  <li class="item padding-5">
       	 	店铺：{{goods.store_name}}
       	 </li>
       	  <li class="item padding-5">
       	 	类型：{{goods.cat_type_name}}
       	 </li>
       </div>

	 </ion-content>
</ion-view>
